Echo.Process

Echo.Process ActorSys

Sub-sections

Contents

Sub sections

Wrappers

class BlockingQueue <T> Source #

Fields

field int Capacity Source #

Properties

property bool IsPaused Source #

property bool IsCancelled Source #

property int Count Source #

Constructors

constructor BlockingQueue (int capacity = 100000) Source #

Methods

method IDisposable ReceiveAsync <S> (S state, Func<S, T, InboxDirective> handler) Source #

method void Receive (Func<T, InboxDirective> handler, string name = "") Source #

method void Post (T value) Source #

method void Cancel () Source #

method void Pause () Source #

method void UnPause () Source #

method void Dispose () Source #

class ShutdownCancellationToken Source #

Provides the name of a system that is shutting down, use Cancel to stop the shutdown from completing.

Fields

field SystemName System Source #

Properties

property bool Cancelled Source #

Methods

method void Cancel () Source #

Call to stop the in-process shutting down of the Process system

class NodeOffline Source #

Fields

field ProcessName Name Source #

class NodeOnline Source #

Fields

field ProcessName Name Source #

class PausableBlockingQueue <A> Source #

Properties

property bool IsPaused Source #

property bool IsCancelled Source #

property int Count Source #

Constructors

constructor PausableBlockingQueue (int boundedCapacity) Source #

Methods

method IDisposable ReceiveAsync <S> (S state, Func<S, A, InboxDirective> handler) Source #

method void Post (A value) Source #

method void Cancel () Source #

method void Pause () Source #

method void UnPause () Source #

method void Dispose () Source #

class Req Source #

Fields

field string SenderNode Source #

field long RID Source #

field string PID Source #

class Resp Source #

Fields

field string ReceiverNode Source #

field long RID Source #

field string PID Source #

field bool Alive Source #

class ProcessMetaData Source #

Fields

field string[] MsgTypeNames Source #

field string StateTypeName Source #

field string[] StateTypeInterfaces Source #

Constructors

constructor ProcessMetaData (string[] msgTypeNames, string stateTypeName, string[] stateTypeInterfaces) Source #

Methods

method Type GetStateType () Source #

class ProxyMsg Source #

Fields

field string Method Source #

field string[] Args Source #

field string[] ArgTypes Source #

field string ReturnType Source #

Methods

method void VoidInvoke (ProcessId pid, string method, params object[] args) Source #

method void VoidInvoke0 (ProcessId pid, string method) Source #

method void VoidInvoke1 (ProcessId pid, string method, object arg1) Source #

method void VoidInvoke2 (ProcessId pid, string method, object arg1, object arg2) Source #

method void VoidInvoke3 (ProcessId pid, string method, object arg1, object arg2, object arg3) Source #

method void VoidInvoke4 (ProcessId pid, string method, object arg1, object arg2, object arg3, object arg4) Source #

method void VoidInvoke5 (ProcessId pid, string method, object arg1, object arg2, object arg3, object arg4, object arg5) Source #

method void VoidInvoke6 (ProcessId pid, string method, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6) Source #

method void VoidInvoke7 (ProcessId pid, string method, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7) Source #

method void VoidInvoke8 (ProcessId pid, string method, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8) Source #

method void VoidInvoke9 (ProcessId pid, string method, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9) Source #

method void VoidInvoke10 (ProcessId pid, string method, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, object arg10) Source #

method void VoidInvoke11 (ProcessId pid, string method, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, object arg10, object arg11) Source #

method void VoidInvoke12 (ProcessId pid, string method, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, object arg10, object arg11, object arg12) Source #

method object Invoke (ProcessId pid, string method, Type rettyp, params object[] args) Source #

method object Invoke0 (ProcessId pid, string method, Type rettyp) Source #

method object Invoke1 (ProcessId pid, string method, Type rettyp, object arg1) Source #

method object Invoke2 (ProcessId pid, string method, Type rettyp, object arg1, object arg2) Source #

method object Invoke3 (ProcessId pid, string method, Type rettyp, object arg1, object arg2, object arg3) Source #

method object Invoke4 (ProcessId pid, string method, Type rettyp, object arg1, object arg2, object arg3, object arg4) Source #

method object Invoke5 (ProcessId pid, string method, Type rettyp, object arg1, object arg2, object arg3, object arg4, object arg5) Source #

method object Invoke6 (ProcessId pid, string method, Type rettyp, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6) Source #

method object Invoke7 (ProcessId pid, string method, Type rettyp, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7) Source #

method object Invoke8 (ProcessId pid, string method, Type rettyp, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8) Source #

method object Invoke9 (ProcessId pid, string method, Type rettyp, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9) Source #

method object Invoke10 (ProcessId pid, string method, Type rettyp, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, object arg10) Source #

method object Invoke11 (ProcessId pid, string method, Type rettyp, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, object arg10, object arg11) Source #

method object Invoke12 (ProcessId pid, string method, Type rettyp, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9, object arg10, object arg11, object arg12) Source #

class Reg Source #

Build registered Process paths

class RelayMsg Source #

Fields

field ProcessId To Source #

field ProcessId Sender Source #

field string ConnectionId Source #

field bool IsAsk Source #

field MsgTag Tag Source #

Constructors

constructor RelayMsg (MsgTag tag, ClientConnectionId connectionId, ProcessId to, ProcessId sender, bool isAsk) Source #

class InboundRelayMsg Source #

Fields

field object Message Source #

Constructors

constructor InboundRelayMsg (ClientConnectionId connectionId, object msg, ProcessId to, ProcessId sender, bool isAsk) Source #

class OutboundRelayMsg Source #

Fields

field RemoteMessageDTO Message Source #

Constructors

constructor OutboundRelayMsg (ClientConnectionId connectionId, RemoteMessageDTO msg, ProcessId to, ProcessId sender, bool isAsk) Source #

struct Return <T> Source #

Fields

field Return<T> None Source #

field T Value Source #

Properties

property bool HasValue Source #

interface IReturn Source #

class Return Source #

Properties

property NoReturn None Source #

Methods

method Return<T> Value <T> (T value) Source #

class NoReturn Source #

Fields

Properties

property bool HasValue Source #

class Msg Source #

Fields

Methods

method Msg AddToSchedule (string inboxKey, string id, RemoteMessageDTO message) Source #

method Msg Reschedule (string inboxKey, string id, DateTime when) Source #

method Msg RemoveFromSchedule (string inboxKey, string id) Source #

class AddToScheduleMsg Source #

Fields

field string InboxKey Source #

field string Id Source #

field RemoteMessageDTO Message Source #

Constructors

constructor AddToScheduleMsg (string inboxKey, string id, RemoteMessageDTO message) Source #

class RemoveFromScheduleMsg Source #

Fields

field string InboxKey Source #

field string Id Source #

Constructors

constructor RemoveFromScheduleMsg (string inboxKey, string id) Source #

class RescheduleMsg Source #

Fields

field string InboxKey Source #

field string Id Source #

field DateTime When Source #

Constructors

constructor RescheduleMsg (string inboxKey, string id, DateTime when) Source #

class State Source #

Fields

field Option<HashMap<string, HashMap<string, RemoteMessageDTO>>> Scheduled Source #

Constructors

constructor State (Option<HashMap<string, HashMap<string, RemoteMessageDTO>>> scheduled) Source #

Methods

method State Add (string key, string innerKey, RemoteMessageDTO msg) Source #

method State Delete (string key, string innerKey) Source #

class TypeHelper Source #

Methods

method Either<string, bool> HasStateTypeOf (Type stateType, Type[] stateTypeInterfaces) Source #

method Either<string, bool> HasStateTypeOf (Type stateType, string[] stateTypeInterfaces) Source #

method Either<string, bool> IsMessageValidForProcess (Type messageType, Type[] inboxDeclaredType) Source #

method Either<string, object> IsMessageValidForProcess (object message, Type[] inboxDeclaredType) Source #

method Either<string, object> IsMessageValidForProcess (object message, string[] inboxDeclaredType) Source #